<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="app">
			<!-- 懒加载，当用户输入完成之后，失去焦点时才会触发 -->
			<input type="text" v-model.lazy="username"/><br />
			
			<a v-text="username"></a>
		</div>
		<script src="../js/vuejs-2.5.16.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			const vue = new Vue({
				el:"#app",
				data:{
					username:"",
				},
				methods:{
					fun1:function(){}
				}
			})
		</script>
		
	</body>
</html>
